package com.bean;

import org.springframework.stereotype.Component;

//@Component
public class User {
   public String number;
   public String password;
   public String  identity;

    public User(String number, String password, String identity) {
        this.number = number;
        this.password = password;
        this.identity = identity;
    }

    public User() {
    }

    public String toString() {
        return "用户注册成功！"+"\n"+
                "number="+number+"，password="+password+
                "，identity="+identity;
    }



}
